/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.close.basic.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hopes.bizz.common.core.annotation.ExcelDictImportValidate;
import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * 车道信息
 *
 * @author pig
 * @date 2023-10-31 14:39:59
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ClosedRoadExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;


	/**
	* 标识
	*/
	@ExcelIgnore
    @ExcelProperty("标识")
    private Long id;

	/**
	* 道路名称
	*/
    @ExcelProperty("道路名称")
    private String name;

	/**
	 * 车道类型
	 */
	@ExcelProperty("车道类型")
	@ExcelDictImportValidate(enumResolver = "close_road_type", message = "车道类型数据解析异常")
	private String roadTypeStr;

	/**
	 * 专用车道
	 */
	@ExcelProperty("专用车道")
	@ExcelDictImportValidate(enumResolver = "yes_no_type", message = "专用车道数据解析异常")
	private String hazardFlagStr;

	/**
	 * 道路限速
	 */
	@ExcelProperty("道路限速(km/h)")
	private Integer speedLimit;

	/**
	 * 车道宽度
	 */
	@ExcelProperty("车道宽度(m)")
	private Double roadWidth;

	/**
	 * 车道范围
	 */
	@ExcelIgnore
	@ExcelProperty("车道范围")
	private String roadScope;


	/**
	 * 开始通行时间
	 */
	@ExcelProperty("通行开始时间")
	private String periodStart;

	/**
	 * 截止通行时间
	 */
	@ExcelProperty("通行截止时间")
	private String periodEnd;


	/**
	* 备注
	*/
    @ExcelProperty("备注")
    private String remarks;

}
